package ThreadYieldTest;

/**
 * ClassName ThreadYieldTest
 * Description TODO
 * Author Hexiao
 * Date 2018/8/24 16:00
 * Version 1.0
 **/
public class ThreadYieldTest {
    public static void main(String[] args){
     ThreadYield t1=new ThreadYield();
     ThreadYield t2=new ThreadYield();
     t1.str="A";
     t2.str="B";
     t1.start();
     t2.start();
    }
}